home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 26 / Mac Magazin and MacEasy Magazine CD - Issue 26.iso / Wissenschaft & Technik / TimGA 1.1 ƒ / Graphs / (1) Small graphs / 11 - Dodecahedron < prev   
Text File  |  1995-08-02  |  342b  |  41 lines

  1.  
  2. |V|:    20        // Number of nodes
  3. |E|:    30        // Number of edges
  4.  
  5.     1    2        // Edges are represented as pairs of node numbers...
  6.     2    3
  7.     3    4
  8.     4    5
  9.     5    6
  10.     6    7
  11.     7    8
  12.     8    9
  13.     9    10
  14.     10    1
  15.     
  16.     1    11
  17.     2    12
  18.     3    13
  19.     4    14
  20.     5    15
  21.     6    16
  22.     7    17
  23.     8    18
  24.     9    19
  25.     10    20
  26.  
  27.     11    13
  28.     13    15
  29.     15    17
  30.     17    19
  31.     19    11
  32.     
  33.     12    14
  34.     14    16
  35.     16    18
  36.     18    20
  37.     20    12
  38.  
  39. ---
  40. This graph is known as dodecahedron.
  41.